#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include <QProcess>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButton_clicked();
    void fwupdate_outlog();
    void fwupdate_Started();
    void fwupdate_Finished(int);
    void poError(QProcess::ProcessError);
    void po_readReady();
    void po_stateChanged(QProcess::ProcessState);

private:
    Ui::MainWindow *ui;
    QProcess *po;
    int tt;

};

#endif // MAINWINDOW_H
